#pragma once
/*
 * Created by: Mark Lavrynenko
 * Email:	MarkLavrinenko@gmail.com
 * Project:	  Huffman
*/

#include <stdint.h>

class DataSource
{
public:
	virtual uint8_t getNextByte() = 0;
#pragma warning(question)
	// what is the best interface to get 16 or 32 bit ??? signed or unsigned
	virtual int16_t getNextInt16() = 0;
	virtual int32_t getNextInt32() = 0;
	virtual bool hasNextByte() = 0;
	virtual void rewind() = 0;
};

